package com.mk.Entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @author mk
 */

@Data
@NoArgsConstructor
@ToString
public class Comment {
    private Long id;
    private String nickname;
    private String email;
    private String content;
    /**
    图片地址
     */
    private String avatar;
    private Date createTime;

    private List<Comment> childComments;
    private Comment parentComment;

    private Comment replyComment;
    private Long replyId;
    private Long bid;
    private Long pid;
}
